export const resizeFn = (arr) => {
  window.onresize = () => {
    arr.forEach((item) => {
      item.resize();
    });
  };
};
